import React from 'react';

// 上门服务售后订单列表
export async function callSalesReturnOrderPage(params) {
  return await React.$postJson('/trade/api/b/mhcSalesReturn/page', params)
}
//上门服务售后订单详情
export async function callSalesReturnOrderDetail(params) {
  return await React.$get(`/trade/api/b/mhcSalesReturn/detail?salesReturnId=${params}`)
}
//同意退款
export async function refundConfirm(params) {
  return await React.$get(`/trade/api/b/mhcSalesReturn/refundConfirm?salesReturnId=${params}`)
}
//拒绝退款
export async function refundRefuse(params) {
  return await React.$postJson('/trade/api/b/mhcSalesReturn/refundRefuse', params)
}

